<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html">

<f:view>
	<f:loadBundle var="text" basename="#{basePage.bundleName}" />
	
	<h:head>
		<h:title>#{text['display.title']}</h:title>
		<meta name="heading" content="#{text['display.heading']}" />
		<meta name="menu" content="AdminMenu" />
	</h:head>

	<h:p>Below is a list of attributes that were gathered in FileUpload.java.</h:p>

	<h:div class="separator"></h:div>

	<table class="detail" cellpadding="5">
		<tr>
			<th>Friendly Name:</th>
			<td>${friendlyName}</td>
		</tr>
		<tr>
			<th>Filename:</th>
			<td>${fileName}</td>
		</tr>
		<tr>
			<th>File content type:</th>
			<td>${contentType}</td>
		</tr>
		<tr>
			<th>File size:</th>
			<td>${size}</td>
		</tr>
		<tr>
			<th class="tallCell">File Location:</th>
			<td>The file has been written to: <br /> <a href="${link}">${location}</a>
			</td>
		</tr>
		<tr>
			<td></td>
			<td class="buttonBar">
			    <input type="button" name="done" id="done" value="Done" onclick="location.href='mainMenu'" />
				<input type="button" name="done" style="width: 120px" value="Upload Another" onclick="location.href='selectFile'" />
			</td>
		</tr>
	</table>

</f:view>
</html>
